using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TankWars.Items
{
    public abstract class Item
    {
        protected Texture2D Sprite;
        protected Vector2 vPosition;

        protected BoundingSphere boundingCircle;

        /// <summary>
        /// Executes the apporpiate action on the input tank
        /// </summary>
        /// <param name="tank"></param>
        public abstract void ExecuteAction(Tank tank);

        public void Draw(SpriteBatch spriteBatch, Map map)
        {
            spriteBatch.Draw(this.Sprite, this.vPosition, Color.White);
        }
    }
}
